AUTOMAKE_OPTIONS = subdir-objects

AM_CFLAGS=-g -Wall 

bin_PROGRAMS = kc031srv genguid 
kc031srv_INCLUDES = $(PSRLIB_INC)
kc031srv_CFLAGS = -llua  -lmosquitto -ldl -DUSE_MQTT
kc031srv_SOURCES = ../../src/kc031service.c \
		../../src/ini.c ../../src/utils.c \
		../../src/xLogMessage.c \
		../../src/ringBuffer.c \
		../../src/rader.c \
		../../src/mqtt.c \
		../../src/lua.c  \
		../../src/hqjg.c \
		../../src/aexgpio.c \
		../../src/aexudp.c \
		../../src/mt_timer.c \
		../../src/version.c

kc031srv_LDADD = @LIBOBJS@  

genguid_SOURCES = ../../src/genguid.c
genguid_LDADD = @LIBOBJS@  

getevent_SOURCES = ../../src/getevent.c
getevent_LDADD = @LIBOBJS@  
